<form id="form" action="<?php echo site_url(array('galeria', 'indexgaleria'));?>" method="post">
<div id="galeria">
		<?php foreach ($lista_imagenes as $lista):?>
		<a value="<?php echo $lista['id']; ?>"><img src="<?php echo site_url(array('web', 'img','t-'.$lista['archivo']));?>" alt="imagen" /></a>
		<?php  endforeach;?>
		
</div>
	<a id="guardar" href="#" class="button-image" style="margin-right: 65px;">
	<img title="Guardar" alt="Guardar" src="<?php echo site_url(array('web', 'img', 'icon-check.png'));?>"/>
	<label>Guardar</label>
	</a>
</form>

<script type="text/javascript">
	
		$('#guardar').click(function(){
			$('#form').submit();
		});
</script>